#pragma once

class CEX Condition:public Mutex
{
	
	pthread_cond_t _cond;

public:

	Condition();
	~Condition();

	bool wait(int timeout = -1);
	void signal();
	void broadcast();
};

